package week7;

public class AnimalTest {
    public static void main(String[] args) {
        Cow cow = new Cow();
        Sheep sheep = new Sheep();
        Pig pig = new Pig();

        cow.eat();
        cow.sleep();
        cow.introduction();

        sheep.eat();
        sheep.sleep();
        sheep.introduction();

        pig.eat();
        pig.sleep();
        pig.introduction();
        pig.hobbit();
    }
}
